﻿using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;

namespace Dapper_Core.Model
{
	/// <summary>
    /// 资源类型
    /// </summary>
    public class ResourceType
    {
	    /// <summary>
        /// 菜单
        /// </summary>
	    public static string Menu = "Menu";
	    /// <summary>
        /// 按钮
        /// </summary>
	    public static string Button = "Button";
	    /// <summary>
        /// 非Ajax页面
        /// </summary>
	    public static string NoAjaxPage = "NoAjaxPage";
	}

	/// <summary>
    /// 工作流类型
    /// </summary>
    public class WorkflowType
    {
	    /// <summary>
        /// 个人域账号管理
        /// </summary>
	    public static string PersonalAccountManage = "PersonalAccountManage";
	    /// <summary>
        /// 公共域账号管理
        /// </summary>
	    public static string PublicAccountManage = "PublicAccountManage";
	    /// <summary>
        /// 域群组管理
        /// </summary>
	    public static string DomainGroupManage = "DomainGroupManage";
	    /// <summary>
        /// 权限群组管理
        /// </summary>
	    public static string AuthorityGroupManage = "AuthorityGroupManage";
	    /// <summary>
        /// 个人域账号权限管理
        /// </summary>
	    public static string PersonalAuthorityManage = "PersonalAuthorityManage";
	    /// <summary>
        /// 研发产品机要数据权限管理
        /// </summary>
	    public static string PCDMManage = "PCDMManage";
	}

	/// <summary>
    /// 个人域账号管理
    /// </summary>
    public class PersonalAccountManage
    {
	    /// <summary>
        /// 个人域账号申请
        /// </summary>
	    public static string PersonalAccount_Apply = "PersonalAccount_Apply";
	    /// <summary>
        /// 个人域账号销户
        /// </summary>
	    public static string PersonalAccount_Close = "PersonalAccount_Close";
	    /// <summary>
        /// 密码丢失重置
        /// </summary>
	    public static string PersonalAccount_ResetPwd = "PersonalAccount_ResetPwd";
	    /// <summary>
        /// 邮件地址变更
        /// </summary>
	    public static string PersonalAccount_AlterEmailAddress = "PersonalAccount_AlterEmailAddress";
	}

	/// <summary>
    /// 公共域账号管理
    /// </summary>
    public class PublicAccountManage
    {
	    /// <summary>
        /// 公共域账号申请
        /// </summary>
	    public static string PublicAccount_Apply = "PublicAccount_Apply";
	}

	/// <summary>
    /// 域群组管理
    /// </summary>
    public class DomainGroupManage
    {
	    /// <summary>
        /// 域群组申请
        /// </summary>
	    public static string DomainGroup_Apply = "DomainGroup_Apply";
	    /// <summary>
        /// 接收外部邮件权限变更
        /// </summary>
	    public static string DomainGroup_AlterInternet = "DomainGroup_AlterInternet";
	}

	/// <summary>
    /// 权限群组管理
    /// </summary>
    public class AuthorityGroupManage
    {
	    /// <summary>
        /// 权限群组申请
        /// </summary>
	    public static string AuthorityGroup_Apply = "AuthorityGroup_Apply";
	    /// <summary>
        /// 权限群组成员添加
        /// </summary>
	    public static string AuthorityGroup_HandleMember = "AuthorityGroup_HandleMember";
	    /// <summary>
        /// 权限群组管理员变更
        /// </summary>
	    public static string AuthorityGroup_AlterCharger = "AuthorityGroup_AlterCharger";
	}

	/// <summary>
    /// 个人域账号权限管理
    /// </summary>
    public class PersonalAuthorityManage
    {
	    /// <summary>
        /// 邮件外发功能开通
        /// </summary>
	    public static string PersonalAuthority_SendOuterEmail = "PersonalAuthority_SendOuterEmail";
	    /// <summary>
        /// 研发邮件特殊权限申请
        /// </summary>
	    public static string PersonalAuthority_SpecialAuthority = "PersonalAuthority_SpecialAuthority";
	    /// <summary>
        /// 邮箱迁移迁入研发
        /// </summary>
	    public static string PersonalAuthority_EmailTransfer = "PersonalAuthority_EmailTransfer";
	    /// <summary>
        /// 附邮件地址添加
        /// </summary>
	    public static string PersonalAuthority_AddEmailAddress = "PersonalAuthority_AddEmailAddress";
	}

	/// <summary>
    /// 研发产品机要数据权限管理
    /// </summary>
    public class PCDMManage
    {
	    /// <summary>
        /// 权限申请
        /// </summary>
	    public static string PCDM_AuthApply = "PCDM_AuthApply";
	}

	/// <summary>
    /// 审批人类型
    /// </summary>
    public class CheckmanType
    {
	    /// <summary>
        /// 发起申请
        /// </summary>
	    public static string F01_Start = "F01_Start";
	    /// <summary>
        /// 部门经理审批
        /// </summary>
	    public static string F02_DeptManagerAudit = "F02_DeptManagerAudit";
	    /// <summary>
        /// 干部部/管理办审批
        /// </summary>
	    public static string F03_GbbGlbAudit = "F03_GbbGlbAudit";
	    /// <summary>
        /// 三级机要人员审批
        /// </summary>
	    public static string F04_ConfidentialMember3Audit = "F04_ConfidentialMember3Audit";
	    /// <summary>
        /// 二级机要人员审批
        /// </summary>
	    public static string F05_ConfidentialMember2Audit = "F05_ConfidentialMember2Audit";
	    /// <summary>
        /// 被申请三级部门机要人员审批
        /// </summary>
	    public static string F06_BeConfidentialMember3Audit = "F06_BeConfidentialMember3Audit";
	    /// <summary>
        /// 被申请二级部门机要人员审批
        /// </summary>
	    public static string F07_BeConfidentialMember2Audit = "F07_BeConfidentialMember2Audit";
	}

	/// <summary>
    /// 厂商类型
    /// </summary>
    public class ManufacturerType
    {
	    /// <summary>
        /// CM厂商
        /// </summary>
	    public static string CM = "CM";
	    /// <summary>
        /// ODM厂商
        /// </summary>
	    public static string ODM = "ODM";
	}

	/// <summary>
    /// 审批状态
    /// </summary>
    public class CheckStatus
    {
	    /// <summary>
        /// 已驳回
        /// </summary>
	    public static string Refused = "Refused";
	    /// <summary>
        /// 审批中
        /// </summary>
	    public static string Checking = "Checking";
	    /// <summary>
        /// 已通过
        /// </summary>
	    public static string Passed = "Passed";
	    /// <summary>
        /// 已撤销
        /// </summary>
	    public static string Canceled = "Canceled";
	}

	/// <summary>
    /// 用户类型
    /// </summary>
    public class UserType
    {
	    /// <summary>
        /// 研发-正式
        /// </summary>
	    public static string yanfa_official = "yanfa_official";
	    /// <summary>
        /// 非研发-正式
        /// </summary>
	    public static string feiyanfa_official = "feiyanfa_official";
	    /// <summary>
        /// 研发非云数-外协
        /// </summary>
	    public static string yanfa_wx_feiys = "yanfa_wx_feiys";
	    /// <summary>
        /// 研发-外协（紫光云数）
        /// </summary>
	    public static string yanfa_wx_ys = "yanfa_wx_ys";
	    /// <summary>
        /// 非研发-外协（紫光云数）
        /// </summary>
	    public static string feiyanfa_wx_ys = "feiyanfa_wx_ys";
	    /// <summary>
        /// 研发-外协（紫光华智）
        /// </summary>
	    public static string yanfa_wx_hz = "yanfa_wx_hz";
	}

}

